

package com.loong.loong.hik.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 漏水监测
 *
 * @author jinyiang
 * @date 2023-04-11 14:25:48
 */
@Data
@TableName("hik_cdc_water_monitor")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "漏水监测")
public class CdcWaterMonitor extends Model<CdcWaterMonitor> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	@ExcelIgnore
	@TableId(value="id",type = IdType.ASSIGN_ID)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 编号
     */
	@ExcelProperty("编号")

	@ApiModelProperty(value="编号")
    private String indexCode;

    /**
     * 事件
     */
	@ExcelProperty("事件")

	@ApiModelProperty(value="事件")
    private String incident;

    /**
     * 创建时间
     */
	@ExcelProperty("创建时间")

	@ApiModelProperty(value="创建时间")
	@TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
	@ExcelProperty("更新时间")
	@ApiModelProperty(value="更新时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    /**
     * 操作人
     */
	@ExcelProperty("操作人")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@ApiModelProperty(value="操作人")
    private String updateBy;
    /**
     * 0正常 其余删除
     */
	@ExcelIgnore
    @ApiModelProperty(value="0正常,其余删除")
	@TableLogic
	@TableField(fill = FieldFill.INSERT)
    private String delFlag;
	@TableField(exist = false )
	private String startTime;
	@TableField(exist = false )
	private String endTime;
	@TableField(exist = false )
	private String likeName;

}
